home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
netmail
/
tmnice42.zip
/
BATFILES.ZIP
/
AFTER.BAT
next >
Wrap
DOS Batch File
|
1996-05-26
|
871b
|
41 lines
@ECHO OFF
rem
rem This is an example how to use ASK.EXE
rem for invoking or not the Spell Checking program SS.EXE
rem You should have installed the spell checker program first.
rem However, that program does not come in the TmNice package.
rem
rem Copy this file to the TERMAIL directory, please.
rem
rem Define in TMNICE.INI:
rem RunAfterTmNice=\TERMINAT\TERMAIL\AFTER.BAT
rem SkipIfCancelled=YES
rem
rem If the file TMNICE.CAN exists then skip spell checking
rem
IF EXIST TMNICE.CAN GOTO END
rem
rem Ask to invoke the Spell Checker
rem
ASK Check Spelling ? YN / YN
rem
rem Y = errorlevel 1. N = errorlevel 2.
rem
IF ERRORLEVEL 2 GOTO END
rem
rem Switch to directory TERMAIL\SS
rem
CD SS
rem
rem Start the Spell Checker
rem
SS.EXE ..\TM.MSG
rem
rem Go back to the Termail directory
rem
CD ..
rem
rem Done
rem
:END